package cn.stylefeng.guns.modular.third.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.third.entity.ThirdManagementStatistics;
import cn.stylefeng.guns.modular.third.model.params.ThirdManagementStatisticsParam;
import cn.stylefeng.guns.modular.third.model.result.ThirdManagementStatisticsResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 运输管理统计 服务类
 * </p>
 *
 * @author 
 * @since 2022-04-26
 */
public interface ThirdManagementStatisticsService extends IService<ThirdManagementStatistics> {

    /**
     * 新增
     *
     * @author 
     * @Date 2022-04-26
     */
    void add(ThirdManagementStatisticsParam param);

    /**
     * 删除
     *
     * @author 
     * @Date 2022-04-26
     */
    void delete(ThirdManagementStatisticsParam param);

    /**
     * 更新
     *
     * @author 
     * @Date 2022-04-26
     */
    void update(ThirdManagementStatisticsParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author 
     * @Date 2022-04-26
     */
    ThirdManagementStatisticsResult findBySpec(ThirdManagementStatisticsParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author 
     * @Date 2022-04-26
     */
    List<ThirdManagementStatisticsResult> findListBySpec(ThirdManagementStatisticsParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author 
     * @Date 2022-04-26
     */
     LayuiPageInfo findPageBySpec(ThirdManagementStatisticsParam param,String condition);

	int countBydate(ThirdManagementStatisticsParam to);

}
